package cn.edu.zjgsu.ito.service;

import java.util.List;

import com.jfinal.plugin.activerecord.Page;
import com.jfinal.plugin.activerecord.Record;

/**
 * 该类为Service抽象类，用于提供数据类型的赋值和取值
 * 
 * @author niedaoxin
 * 
 */
public abstract class Service
{
	private Record record = null;

	private List<Record> listRecord = null;

	private String strSql = null;

	private int iNum;

	private float fNum;

	private double dNum;

	private char cNum;

	private List<String> listStr = null;

	private Integer igeNum = null;
	
	private Page<Record>pageRecord = null;

	/**
	 * @return Record
	 */
	public Record getRecord()
	{
		return record;
	}

	/**
	 * set your record
	 * 
	 * @param record
	 */
	public void setRecord(Record record)
	{
		this.record = record;
	}

	/**
	 * @return List<Record>
	 */
	public List<Record> getListRecord()
	{
		return listRecord;
	}

	/**
	 * set your List<Record>
	 * 
	 * @param listRecord
	 */
	public void setListRecord(List<Record> listRecord)
	{
		this.listRecord = listRecord;
	}

	/**
	 * @return String
	 */
	public String getStrSql()
	{
		return strSql;
	}

	/**
	 * set your String
	 * 
	 * @param strSql
	 */
	public void setStrSql(String strSql)
	{
		this.strSql = strSql;
	}

	/**
	 * @return int
	 */
	public int getiNum()
	{
		return iNum;
	}

	/**
	 * set your int
	 * 
	 * @param iNum
	 */
	public void setiNum(int iNum)
	{
		this.iNum = iNum;
	}

	/**
	 * @return float
	 */
	public float getfNum()
	{
		return fNum;
	}

	/**
	 * set your float
	 * 
	 * @param fNum
	 */
	public void setfNum(float fNum)
	{
		this.fNum = fNum;
	}

	/**
	 * @return double
	 */
	public double getdNum()
	{
		return dNum;
	}

	/**
	 * set your double
	 * 
	 * @param dNum
	 */
	public void setdNum(double dNum)
	{
		this.dNum = dNum;
	}

	/**
	 * @return char
	 */
	public char getcNum()
	{
		return cNum;
	}

	/**
	 * set your char
	 * 
	 * @param cNum
	 */
	public void setcNum(char cNum)
	{
		this.cNum = cNum;
	}

	/**
	 * @return List<String>
	 */
	public List<String> getListStr()
	{
		return listStr;
	}

	/**
	 * set your list<String>
	 * 
	 * @param listStr
	 */
	public void setListStr(List<String> listStr)
	{
		this.listStr = listStr;
	}

	/**
	 * @return Integer
	 */
	public Integer getIgeNum()
	{
		return igeNum;
	}

	/**
	 * set your Integer
	 * 
	 * @param igeNum
	 */
	public void setIgeNum(Integer igeNum)
	{
		this.igeNum = igeNum;
	}

	/**
	 * @return Page<Record>
	 */
	public Page<Record> getPageRecord()
	{
		return pageRecord;
	}

	/**
	 * set your Page<Record>
	 * @param pageRecord
	 */
	public void setPageRecord(Page<Record> pageRecord)
	{
		this.pageRecord = pageRecord;
	}

}
